<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>index2.html</title>
	
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    
    <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->

  </head>
  
  <body>
    <p><h3>第二题显示当前时间</h3></p>
    <input type="text" id="date" value="Please click the button" style="width: 300px">
    <button type="button" onclick="showDate()">SHOWDATE</button><br>
     <a href="index3.html">下一题</a>
  </body>
  
  <script type="text/javascript">
  function showDate(){
  	document.getElementById("date").value=Date();
  }
  
  </script>
</html>
